<!DOCTYPE html>
<html>
<head>
    <title><%= title %></title>
    <link rel='stylesheet' href='/stylesheets/style.css' />
</head>
<body>
<%- include header %>
<form method="post">
    用户名：<input type="text" name="name"><br>
    密码：<input type="password" name="password"><br>
    <button type="submit" value="Submit">登录</button>
</form>
<article>
    <% if (success) { %>
    <div><%= success %></div>
    <% } %>
    <% if (error) { %>
    <div><%= error %></div>
    <% } %>
</article>
</body>
</html>